|
forcecell 2.2.0
|
Force Cell Click Example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Force Cell Click Example.
This example demonstrates the use of the Force Cell Click board by reading the applied force in newtons (N) from a load cell sensor. The application initializes the driver, calibrates the offset, and continuously measures and logs the force value to the USB UART terminal.
The demo application is composed of two sections :
Initializes the logger and the Click driver, performs offset calibration to null the load cell.
Continuously reads and displays the current force value in newtons every 100ms.
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |